package pl.edu.pw.polygen.core.file;

import pl.edu.pw.polygen.beans.FileBean;
import pl.edu.pw.polygen.exception.FileExistException;

public interface FileService {
	FileBean createNewFile(String fileName, String fileDesc, Long projectId) throws FileExistException;
	
	FileBean saveFile(FileBean bean);
	
	void removeFile(String fileName, String projectName, Long userId);
	
	FileBean findFile(String fileName, String projectName, Long userId);
}
